#ifndef __M120L_H
#define	__M120L_H

#include <stdio.h>
#include "main.h"
#include "usart.h"


unsigned char asciitohex(unsigned char high_ascii,unsigned char low_ascii);
void SendData_To_M120L(UART_HandleTypeDef *huart,uint8_t *buf,uint8_t len);
void M120_PWRON(void);
uint8_t M120_Initial(void);
int8_t M120_sleep00_INT(void);
int8_t Get_M120_Status_INT(void);
int8_t M120_Join_Net_INT(void);
int8_t M120_TxData_INT(unsigned char* str, uint8_t length);
uint8_t M120_RecvData_INT(void);
int8_t M120_sleep01_INT(void);
void M120_Wakeup_INT(void);
void Get_M120L_Info(void);

#endif 
